<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sinbiota.Web.Models.SpecimenListFullModel>" %>
<%@ Import Namespace="Localization" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%: Strings.Specimens %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="panel" style="padding-bottom:20px;">
        <div id="specimen_tree">
            <ul id="treeData" style="display:none">
            <% foreach (var child in Model.RootNode.Children.OrderBy(x => x.Name)) Html.RenderPartial("TaxonNode", child); %>
            </ul>
        </div>
    </div>

<script type="text/javascript">
    $(document).ready(function () {
        // specimen tree:
        $("#specimen_tree").jstree({ "themes": {
            "theme": "default",
            "dots": false,
            "icons": false
        },
            "plugins": ["themes", "html_data"]
        });
    });
</script>
</asp:Content>


